package com.isoft.demo01.service.impl;

import com.isoft.demo01.dao.ShopFindDAO;
import com.isoft.demo01.entity.Shop;
import com.isoft.demo01.service.ShopFindService;
import com.isoft.demo01.service.ShopService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.thymeleaf.util.StringUtils;

import java.util.ArrayList;
import java.util.List;


@Service
public class ShopFindServiceImpl implements ShopFindService {

    @Autowired
    private
    ShopFindDAO shopFindDAO;

    @Override
    public List<Shop> listShop(Shop shop) {
        return shopFindDAO.listShop(shop);
    }
}
